package com.yanzhen.po;

import lombok.Data;

import java.util.List;

/***
 * 用于菜单的导航
 */
@Data
public class NavNode {
    private Integer id;
    private Integer parentId;
    private String title;
    private List<NavNode> child;
    private String icon="fa fa-window-maximize";
    private String href;
    private String target="_self";
    private Boolean checked;//是否选中

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<NavNode> getChild() {
        return child;
    }

    public void setChild(List<NavNode> child) {
        this.child = child;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }
}
